<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" th:type="@{/image/png}" type="image/png">

    <title>Dynamic Table</title>

    <!--dynamic table-->
    <link th:href="@{/js/advanced-datatable/css/demo_page.css}" href="js/advanced-datatable/css/demo_page.css" rel="stylesheet" />
    <link th:href="@{/js/advanced-datatable/css/demo_table.css}" href="js/advanced-datatable/css/demo_table.css" rel="stylesheet" />
    <link th:href="@{/js/data-tables/DT_bootstrap.css}" rel="stylesheet" href="js/data-tables/DT_bootstrap.css" />

    <link th:href="@{/css/style.css}" href="css/style.css" rel="stylesheet">
    <link th:href="@{/css/style-responsive.css}" href="css/style-responsive.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
</head>

<body class="sticky-header">

<section>
    <!-- left side start-->
    <div class="left-side sticky-left-side">

        <!--logo and iconic logo start-->
        <div class="logo">
            <a href="index.html"><img th:src="@{/images/logo.png}" src="images/logo.png" alt=""></a>
        </div>

        <div class="logo-icon text-center">
            <a href="index.html"><img th:src="@{/images/logo_icon.png}" src="images/logo_icon.png" alt=""></a>
        </div>
        <!--logo and iconic logo end-->


        <div class="left-side-inner">

            <!-- visible to small devices only -->
            <div class="visible-xs hidden-sm hidden-md hidden-lg">
                <div class="media logged-user">
                    <img alt="" th:src="@{/images/photos/user-avatar.png}" src="images/photos/user-avatar.png" class="media-object">
                    <div class="media-body">
                        <h4><a href="#">John Doe</a></h4>
                        <span>"Hello There..."</span>
                    </div>
                </div>

                <h5 class="left-nav-title">Account Information</h5>
                <ul class="nav nav-pills nav-stacked custom-nav">
                    <li><a href="#"><i class="fa fa-user"></i> <span>Profile</span></a></li>
                    <li><a href="#"><i class="fa fa-cog"></i> <span>Settings</span></a></li>
                    <li><a href="#"><i class="fa fa-sign-out"></i> <span>Sign Out</span></a></li>
                </ul>
            </div>

            <!--sidebar nav start-->
            <ul class="nav nav-pills nav-stacked custom-nav">
                <li th:each="item:${session.quanxian}" th:class="${item.qxUrl == 'orderManager.html' ?'active':''}">
                    <a th:href="@{'/'+${item.qxUrl}}" href="index.html"><i class="fa fa-home"></i> <span>[[${item.qxName}]]</span></a>
                </li>
                <li><a th:href="@{/user/logout.html}" href="login.html"><i class="fa fa-sign-in"></i> <span>退出登录</span></a></li>

            </ul>
            <!--sidebar nav end-->

        </div>
    </div>
    <!-- left side end-->

    <!-- main content start-->
    <div class="main-content" >

        <!-- header section start-->
        <div class="header-section">

            <!--toggle button start-->
            <a class="toggle-btn"><i class="fa fa-bars"></i></a>
            <!--toggle button end-->


            <!--notification menu start -->
            <div class="menu-right">
                <ul class="notification-menu">
                    <li>
                        <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                            <img th:src="@{/images/photos/user-avatar.png}" src="images/photos/user-avatar.png" alt="" />
                            [[${session.user?.loginName}]]
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
                            <li><a href="#"><i class="fa fa-user"></i>  Profile</a></li>
                            <li><a href="#"><i class="fa fa-cog"></i>  Settings</a></li>
                            <li><a th:href="@{/user/logout.html}" href="#"><i class="fa fa-sign-out"></i> Log Out</a></li>
                        </ul>
                    </li>

                </ul>
            </div>
            <!--notification menu end -->

        </div>
        <!-- header section end-->

        <!-- page heading start-->
        <div class="page-heading">
            <h3>
                订单管理
            </h3>
            <!--<ul class="breadcrumb">
                <li>
                    <a href="#">Dashboard</a>
                </li>
                <li>
                    <a href="#">Data Tables</a>
                </li>
                <li class="active"> Dynamic Table </li>
            </ul>-->
        </div>
        <!-- page heading end-->

        <!--body wrapper start-->
        <div class="wrapper">
            <div class="row">
                <div class="col-sm-12">
                    <section class="panel">
                        <header class="panel-heading">
                            订单列表
                            <span class="tools pull-right">
                <a href="javascript:;" class="fa fa-chevron-down"></a>
                <a href="javascript:;" class="fa fa-times"></a>
             </span>
                        </header>
                        <div class="panel-body">
                            <!--<div class="adv-table">

                                <div class="row" style="margin-bottom: 20px">
                                    <div class="col-lg-3">
                                        <div class="input-group">
                                            <input type="text" class="form-control" placeholder="Search for...">
                                            <span class="input-group-btn">
                        <button class="btn btn-default" type="button">搜索</button>
                        </span>
                                        </div>&lt;!&ndash; /input-group &ndash;&gt;
                                    </div>&lt;!&ndash; /.col-lg-6 &ndash;&gt;

                                    <div class="col-lg-offset-11" style="margin-right: 20px">
                                        <a th:href="@{/user/addUser.html}" style="width: 80px;" type="button" class="btn btn-default btn-success">+新增</a>
                                    </div>

                                </div>&lt;!&ndash; /.row &ndash;&gt;

                                <div>
                                    <table class="display table table-bordered table-striped">
                                        <thead>
                                        <tr>
                                            <th>用户名</th>
                                            <th>电话</th>
                                            <th>创建时间</th>
                                            <th class="hidden-phone">操作</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        <tr class="gradeX" th:each="item:${allUser?.list}">
                                            <td th:text="${item.loginName}">Trident</td>
                                            <td th:text="${item.phone}">Internet
                                                Explorer 4.0</td>
                                            <td th:text="${item.createtime}"></td>
                                            <td>
                                                <a th:href="@{/user/updateUser.html/{id}(id=${item.id})}" class="btn btn-primary btn-sm" type="button">修改</a>
                                                <a th:href="@{/user/delete/{id}(id=${item.id})}" class="btn btn-danger btn-sm" type="button">删除</a>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>

                                <div>
                                    <div class="col-md-4" style="margin-top: 10px">
                                        当前第[[${allUser?.pageNum}]]页，共[[${allUser?.pages}]]页，共[[${allUser?.total}]]条
                                    </div>

                                    <div class="col-md-offset-9">
                                        <nav aria-label="Page navigation">
                                            <ul class="pagination">
                                                <li>
                                                    <a href="#" aria-label="Previous">
                                                        <span aria-hidden="true">&laquo;</span>
                                                    </a>
                                                </li>
                                                <li><a th:href="@{/userManager.html(pn=${item},size=5)}" href="#" th:each="item:${allUser?.navigatepageNums}">[[${item}]]</a></li>
                                                <li>
                                                    <a href="#" aria-label="Next">
                                                        <span aria-hidden="true">&raquo;</span>
                                                    </a>
                                                </li>
                                            </ul>
                                        </nav>
                                    </div>
                                </div>



                            </div>-->


                            <div style="height: 400px">
                                以下是订单
                            </div>
                        </div>
                    </section>
                </div>
            </div>

            <!--body wrapper end-->

            <!--footer section start-->
            <footer>
                2020 &copy; AdminEx by ThemeBucket </a>
            </footer>
            <!--footer section end-->


        </div>
        <!-- main content end-->
    </div>
</section>

<!-- Placed js at the end of the document so the pages load faster -->
<script th:src="@{/js/jquery-1.10.2.min.js}" src="js/jquery-1.10.2.min.js"></script>
<script th:src="@{/js/jquery-ui-1.9.2.custom.min.js}" src="js/jquery-ui-1.9.2.custom.min.js"></script>
<script th:src="@{/js/jquery-migrate-1.2.1.min.js}" src="js/jquery-migrate-1.2.1.min.js"></script>
<script th:src="@{/js/bootstrap.min.js}" src="js/bootstrap.min.js"></script>
<script th:src="@{/js/modernizr.min.js}" src="js/modernizr.min.js"></script>
<script th:src="@{/js/jquery.nicescroll.js}" src="js/jquery.nicescroll.js"></script>

<!--dynamic table-->
<script th:src="@{/js/advanced-datatable/js/jquery.dataTables.js}" type="text/javascript" language="javascript" src="js/advanced-datatable/js/jquery.dataTables.js"></script>
<script th:src="@{/js/data-tables/DT_bootstrap.js}" type="text/javascript" src="js/data-tables/DT_bootstrap.js"></script>
<!--dynamic table initialization -->
<script th:src="@{/js/dynamic_table_init.js}" src="js/dynamic_table_init.js"></script>

<!--common scripts for all pages-->
<script th:src="@{/js/scripts.js}" src="js/scripts.js"></script>






</body>
</html>
